---
title: "Lists the file info"
method: GET
path: "/files/v1/files?entityIds[]"
tags: ["filesService"]
---

# Lists the file info

`GET /files/v1/files?entityIds[]`

Lists the file info

## Query parameters

- `entityType` 'comment' | 'post' | 'task'
- `entityIds` integer[], required

## Response `200`

Successful response

- object
  - `data` object
    - `entityId` FileInfoDto[]
      - `id` integer
      - `entityType` 'comment' | 'post' | 'task'
      - `entityId` integer
      - `uploadId` string, uuid
      - `originalFilename` string
      - `lastModified` integer
      - `size` integer
      - `url` string

## Other responses

- `401` — Access token is missing or invalid

---

[API](https://skmtc.net/uspacy/apis/uspacy-api-2.md) · [All operations](https://skmtc.net/uspacy/apis/uspacy-api-2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/uspacy/uspacy-api-2/revisions/c3f48fd1c26b/schema)
